package com.citywy.service.impl;

import com.citywy.service.AccountService;
import org.springframework.stereotype.Service;

@Service("accountService")
public class AccountServiceImpl implements AccountService {
    @Override
    public void saveAccount() {
        System.out.println("执行保存(切入点方法执行...)");
//        int i = 12/0;//测试异常日志记录
    }

    @Override
    public void updateAccount(int i) {
        System.out.println("执行更新"+i);
    }

    @Override
    public int deleteAccount() {
        System.out.println("执行删除");
        return 0;
    }
}
